Arguments are: number block—any number block; period—size of groups within number block to be summed; how—optional #ROW or #COL direction of sum.
Result is a block of size(number block)/period. If period is not evenly divisible into size(number block), the last rows or columns will be treated as a short group.